# 数字型
a = 100
b = 1.88
c = True
d = False

# 查看数据类型
print(type(100))   #整数：<class 'int'>
print(type(a))
print(type(b))       #浮点数（小数）：<class 'float'>
print(type(c))     #布尔型：<class 'bool'> ---->boolean

# 非数字型
# 字符串
e = "hello word"
# 列表
f = [1, 2, 3,4,5]
# 元组
g = (2,3,4,5,6)
#集合
h = {3,4,5,6,7}
# 字典
i = {"name":"张三","age":18}
# 查看数据类型
print(type(e)) #字符串：<class 'str'>
print(type(f)) #列表：<class 'list'>
print(type(g)) #元组：<class 'tuple'>
print(type(h)) #元组：<class 'set'>
print(type(i)) #字典：<class 'dict'>

#数据类型
info1 = {"a1":112,"a2":"test","a3":[1,2,3,4,5],"a4":(2,3,4,5),"a5":{3,4,5,6}}
print(info1)
info2 = (1,2,3,[2,3,4,5],{4,5,6,7})
print(type(info2))
print(type(info1))
